import { setThemeColor } from '@/utils/setThemeColor'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import 'normalize.css'
import { initSiteInfo, setSiteTitle } from './stores/modules/site/siteInfo'
import './styles/index.less'
import Vconsole from 'vconsole'

dayjs.locale('zh-cn')

if (['dev', 'test', 'pre'].includes(BUILD_ENV)) {
    new Vconsole()
}

setThemeColor({ primaryColor: '#1EBEAC' })

initSiteInfo()

setSiteTitle()

console.log('test env')
